package com.healthcloud.entity;

import java.io.Serializable;
import java.util.Date;



/**
 * 
 * 
 * @author yucl
 * @email yucailong1111@126.com
 * @date 2018-06-11 17:34:26
 */
public class SysOrganiEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	private Long id;
	//上级部门ID，一级部门为0',
	private Long parentId;
	/**
	 * 父菜单名称
	 */
	private String parentName;
	//
	private String name;

	private Integer type;
	//
	private Date createTime;
	//
	private Date updateTime;
	/**
	 * ztree属性
	 */
	private Boolean open = false;

	private Boolean checked;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	/**
	 * 设置：
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：
	 */
	public Date getUpdateTime() {
		return updateTime;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public Boolean getOpen() {
		return open;
	}

	public void setOpen(Boolean open) {
		this.open = open;
	}

	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return "{" +
				"id:" + id +
				", pId:" + parentId +
				", open:" + open +
				",checked:"+ checked +
				", name:'" + name + '\'' +
				'}';
	}
}
